package com.wangzd.community.mapper;

import com.wangzd.community.dto.QuestionQueryDTO;
import com.wangzd.community.model.Question;

import java.util.List;


public interface QuestionExtMapper {

    int incView(Question record);

    int incComment(Question question);

    List<Question> selectRelated(Question question);

    Integer countBySearch(QuestionQueryDTO questionQueryDTO);

    List<Question> selectBySearch(QuestionQueryDTO questionQueryDTO);

}
